package com.lyrcsoft.service;

import javax.annotation.PreDestroy;
import org.springframework.stereotype.Component;

/**
 * @author fujc-dev@qq.com
 * @date 2023/7/4 21:40
 */
@Component
public class T4Service //implements DisposableBean
{

	//@Override
	//public void destroy() throws Exception {
	//	System.out.println("destroy 销毁");
	//}

	public void test() {
		System.out.println("T4Service.test()");
	}

	@PreDestroy
	public void destroy() throws Exception {
		System.out.println("destroy 销毁");
	}
}
